<div class="f-user-login" ng-if="userLoginInfo.logged">
    <a href="">您好，
        <a style="color:#30a3fe" ng-click="goTo()" ng-show="userLoginInfo.data.name">{{userLoginInfo.data.name }}
           </a>
        <!--<span style="float:left;color:#666460;margin-right: 10px;" ng-show="userLoginInfo.data.userType ==2">企业用户</span>-->
        <!--<span style="float:left;color:#666460;margin-right: 10px;" ng-show="userLoginInfo.data.userType ==1">个人用户</span>-->
        </a>

    <a  ng-click="logOut()">退出</a>
    <a  class="cart" ui-sref="shoppingCarCtrl">购物车</a>
    <a  ng-show="userLoginInfo.data.userType ==1" ng-click="stateGo('prosonMine.myMessage')">消息</a>
</div>
<div class="f-user-login" ng-if="!userLoginInfo.logged">
<a href="">您好,欢迎来到工程界！</a>
<a ng-click="goLogin('login',1)">注册</a>
<a>|</a>
<a ng-click="goLogin('login',0)">登录</a>
</div>
<style>
    .cart{
        background:url('them/imag/shopCart.png') no-repeat;
        background-position:0 12px;
        background-size:15px 14px;
        padding-left:18px;
    }
</style>